package com.design.nav;

public class NavTest {

    public static void main(String[] args) {
        IPermission notLoginUser = new NotLoginUser();
        System.out.println("未登录用户导航条：");
        System.out.println(notLoginUser.showPermNavs());
        System.out.println("===========================");


        IPermission loginUser =new LoginUser();
        System.out.println("已登录用户导航条：");
        System.out.println(loginUser.showPermNavs());
        System.out.println("===========================");

        IPermission loginVip = new LoginVip();
        System.out.println("已登录会员导航条：");
        System.out.println(loginVip.showPermNavs());
        System.out.println("===========================");

        IPermission admin =new Admin();
        System.out.println("管理员导航条：");
        System.out.println(admin.showPermNavs());
        System.out.println("===========================");
    }
}
